Component({
    properties: {
        datas: {
            type: [ Array ]
        },
        image: {
            type: String,
            value: null
        },
        text: {
            type: String,
            value: "暂无信息"
        },
        isBtn: {
            type: Boolean,
            value: !1
        },
        btnText: {
            type: String,
            value: "返回"
        },
        tolink: {
            type: String,
            value: ""
        }
    },
    data: {},
    methods: {
        goUrl: function() {
            if (this.data.tolink) try {
                wx.navigateTo({
                    url: "/" + this.data.tolink
                });
            } catch (t) {
                wx.reLaunchurl({
                    url: "/" + this.data.tolink
                });
            }
        }
    }
});